package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 第三方链接配置对象 blog_href_config
 *
 * @author 刘哲贤
 * @date 2022-08-30
 */
public class BlogHrefConfig extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** $column.columnComment */
    private Long id;

    /** 标题 */
            @Excel(name = "标题")
    private String title;

    /** 图标 */
            @Excel(name = "图标")
    private String icon;

    /** 链接 */
            @Excel(name = "链接")
    private String href;

    /** 类型(0:跳转到第三方;1:参考资源) */
            @Excel(name = "类型(0:跳转到第三方;1:参考资源)")
    private Long type;

    public void setId(Long id)
            {
            this.id = id;
            }

    public Long getId()
            {
            return id;
            }
    public void setTitle(String title)
            {
            this.title = title;
            }

    public String getTitle()
            {
            return title;
            }
    public void setIcon(String icon)
            {
            this.icon = icon;
            }

    public String getIcon()
            {
            return icon;
            }
    public void setHref(String href)
            {
            this.href = href;
            }

    public String getHref()
            {
            return href;
            }
    public void setType(Long type)
            {
            this.type = type;
            }

    public Long getType()
            {
            return type;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("title",getTitle())
            .append("icon",getIcon())
            .append("href",getHref())
            .append("type",getType())
            .append("createTime",getCreateTime())
        .toString();
        }
        }
